<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title><!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>用户修改 - editUser</title>
		<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" />
	</head>
	<body>
		<div class="container-fluid">
			<div class="row">
				<div th:replace="/common/carousel::carousel"></div>
				<div th:replace="/common/nav::nav"></div>
				<div class="col-md-6 col-md-offset-3" style="min-height: 300px">
					<h1 class="text-center">修改用户信息</h1>
					<form class="form-horizontal" role="form" th:action="@{/users/edit/{id}(id=${user.getId()})}" method="post">
						<div class="form-group">
							<label class="col-sm-2 control-label" for="username">姓名</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" id="username" name="username" placeholder="请输入姓名" th:value="${user.getUsername()}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label" for="usersex">性别</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" id="usersex" name="usersex" placeholder="请输入性别" th:value="${user.getUsersex()}">
							</div>
						</div>
						<div class="text-center">
							<button type="submit" class="btn btn-info">修改</button>
						</div>
					</form>
				</div>
			</div>
		</div>
		<div th:replace="/common/footer::footer"></div>
		<script src="/js/jquery-3.6.0.min.js"></script>
		<script src="/js/bootstrap.min.js"></script>
	</body>
</html>
